<?php

namespace app\api\model;

use think\Model;
use app\mpbase\library\WechatCard;

class User extends Model
{
    static $arr = [];
    public function setSexAttr($value)
    {
        $value == '男' && $value = 1;
        $value == '女' && $value = 2;
        return $value;
    }


}
